package com.kpf.springcloud.pojo;

import com.kpf.springcloud.common.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * token实体
 *
 * @author shiwen
 * @date 2021/2/28
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode
public class KpfAccountToken extends BaseEntity {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * token
     */
    private String token;

    /**
     * 过期时间的时间戳
     */
    private Long expires;

}